package net.xiduth.game.player.content.dungeons;

import net.xiduth.game.WorldObject;
import net.xiduth.game.WorldTile;
import net.xiduth.game.player.Player;

/**
 * 
 * @author Jae <jae@xiduth.com>
 * 
 * Last modified: <Oct 18, 2013>
 *
 */
public class Brimhaven {

	private static final int[] VINES = { 5103, 5104, 5105, 5106, 5107 };

	public static boolean handleObjects(Player player, WorldObject object) {
		for (int i = 0; i < VINES.length; i++) {
			if (object.getId() == VINES[i]) {
				player.setNextWorldTile(object);
				player.sendMessage("You walk through the vines.");
				return true;
			} 
		}
		switch(object.getId()) {
		case 5110:
			player.setNextWorldTile(new WorldTile(2647, 9557, 0));
			return true;
		case 5111:
			player.setNextWorldTile(new WorldTile(2649, 9562, 0));
			return true;
		}
		return false;
	}

}
